Bug 559404 – gtk_editable_insert_text counts length in bytes
authorChristian Dywan <christian@imendio.com>
Wed, 5 Nov 2008 14:27:33 +0000 (14:27 +0000)
committerChristian Dywan <cdywan@src.gnome.org>
Wed, 5 Nov 2008 14:27:33 +0000 (14:27 +0000)
2008-11-05  Christian Dywan  <christian@imendio.com>

Bug 559404 – gtk_editable_insert_text counts length in bytes

* gtk/gtkeditable.c:
Document new_text_length as the number of bytes

svn path=/trunk/; revision=21760

ChangeLog
gtk/gtkeditable.c

index 4def162faac462e4491fb888cc2f347f1f2c000c..b289c42da2c6cf32f2ecaf9d9d7b9eb241a0d982 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-11-05  Christian Dywan  <christian@imendio.com>
+
+       Bug 559404 – gtk_editable_insert_text counts length in bytes
+
+       * gtk/gtkeditable.c:
+       Document new_text_length as the number of bytes
+
 2008-11-05  Richard Hult  <richard@imendio.com>
 
        * gdk/quartz/gdkwindow-quartz.c:
index 16e839901a837a11402973c2b8b43639c0cd0ae8..40f4986f11256e44fc2060b323f55c26b0723a74 100644 (file)
@@ -99,10 +99,10 @@ gtk_editable_base_init (gpointer g_class)
  * gtk_editable_insert_text:
  * @editable: a #GtkEditable
  * @new_text: the text to append
- * @new_text_length: the text to append
+ * @new_text_length: the length of the text in bytes, or -1
  * @position: position text will be inserted at
  *
- * Appends @new_text_length characters of @new_text to the contents of the widget,
+ * Appends @new_text_length bytes of @new_text to the contents of the widget,
  * at position @position. Note that this position is in characters, not in bytes.
  **/
 void